/*
 * File:   DiceAdds.cpp
 * Author: luk
 *
 * Created on March 6, 2015, 10:06 PM
 */

#include "SuccessRollResult.h"

SuccessRollResult::SuccessRollResult(bool success, bool critical, int roll, int target, int margin) {
    this->success = success;
    this->critical = critical;
    this->roll = roll;
    this->target = target;
    this->margin = margin;
}

bool SuccessRollResult::isCritical() const {
    return critical;
}

int SuccessRollResult::getMargin() const {
    return margin;
}

int SuccessRollResult::getRoll() const {
    return roll;
}

bool SuccessRollResult::isSuccess() const {
    return success;
}

int SuccessRollResult::getTarget() const {
    return target;
}






